home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / wild / appunti / design.doc < prev    next >
Text File  |  1999-01-01  |  1KB  |  37 lines

  1.  
  2. Projects to do in this wild, some designs...
  3.  
  4. Now: separe apps and scenes: are different things: an app may change scene, a scene
  5. may be shared by more apps.
  6.  
  7. Library sections:
  8.  
  9.  - app manager: add,remove,manager (can make the library render,calc things,and more)
  10.  - scene manager: provides funcs to help the user in the scene animation, like
  11.    rotate, animate funcs, maybe also define an anim format... more to define...
  12.    also load,remove,... different formats loader (the first will be the LoadSeg file,
  13.    but in a future there may be also an IFF format, to make less dependent on dos.library.
  14.    in the future, by somebody other, may also be a LW-loader and similar... or VRML...
  15.  
  16.  
  17. AppManager section:
  18.  
  19.  -needed funcs:
  20.   -AddWildApp,RemWildApp,SetWildAppTags,GetWildAppTags
  21.   
  22.  - about the render engine: should be a sub-task, with the same or lower pri of
  23.    the game (or it will block everything) and higher than normal tasks (would be
  24.    slow). Best i thing is 8 for renderer and 9 for game. Obviously, game should
  25.    only check the events, and pass much time waiting.
  26.    
  27.  - the render function should work async: first of all, should refer all to Camera
  28.    (this, sync: need to be sure it's not changed) then ask the renderer task of the 
  29.    app to start calcing everything else. The game then would wait the message of my
  30.    rendered task to start rendering next frame.
  31.  
  32.  
  33. SceneManager section:
  34.  
  35.  -needed funcs:
  36.    LoadScene 
  37.